package com.guet.niit.Admin.dao;

import com.guet.niit.Admin.pojo.Charging;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;

public interface ChargingDao {

    boolean  chargingAdd(String city, Long id, String station_name,Long agent_id,String address,
                         String station_details,Double parking_fee,Double have_parking_fee,Double status,Double rent);

    boolean chargingDelete(Long id);

    boolean chargingModify(String city, Long id, String station_name,Long agent_id,String address,
                           String station_details,Double parking_fee,Double have_parking_fee,Double status,Double rent);

    List<Charging> chargingInquire();

    List<Charging> chargingInquireByCity(String queryCity);

    List<Charging> chargingInquireByParkingFee(int haveParkingFee);

}
